import request from '@/utils/request'

// 查询工厂人员列表
export function getFactoryMemberList(query) {
  return request({
    url: '/factoryMember/list',
    method: 'post',
    params: query
  })
}

//删除商品
export function factoryMemberRemove(ids) {
  return request({
    url: '/factoryMember/remove',
    method: 'post',
    data: ids
  })
}

//商品保存
export function factoryMemberSave(data) {
  return request({
    url: '/factoryMember/save',
    method: 'post',
    data: data
  })
}

// 查询商品详细
export function getFactoryMember(id) {
  return request({
    url: '/factoryMember/' + id,
    method: 'get'
  })
}

